import { Button } from 'antd-mobile'
import styles from './index.scss'
const LongButton = ({
  content,
  act
}) => {
  const submit = () => {
    act()
  }
  return (
    <Button type='primary' onClick={submit} className={styles.longButton}>{content}</Button>
  )
}
export default LongButton